package main

import (
	"fmt"
)

func main(){

	citys:=map[string]string{
		"no1":"shanghai",
		"no2":"beijing",
		"no3":"korean",
	}

	fmt.Println(citys)

	citys["no3"]="北京"
	fmt.Println(citys)

	delete(citys,"no3")

	fmt.Println(citys)

	fmt.Println(citys["no2"])

	val,key:=citys["no2"]
	fmt.Println(val,key)
	//清空
	citys = make(map[string]string)

	fmt.Println(citys)


}